package cn.edu.scau.cmi.wujiaming.experiment5.safe;

public class SafeLeaf implements SafeComponent {
	private String name;

	public SafeLeaf(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	@Override
	public String doSomething() {
		return "对" + name + "文件进行查询杀毒";
	}
}